// eslint-disable-next-line no-undef
Component({
    data: {

    },
    methods: {
        agree(){
            this.triggerEvent('agree');
        },
        refuse(){
            this.triggerEvent('refuse');
        },
        openPrivacyContract() {
            wx.openPrivacyContract({
                success: res => {
                    console.log('openPrivacyContract success');
                },
                fail: res => {
                    console.error('openPrivacyContract fail', res);
                }
            });
        }
    },
});
